/**
 */
package base.impl;

import base.BasePackage;
import base.RealAction;
import base.RealActuator;
import base.RealSensor;
import base.Robot;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EClass;

import org.eclipse.emf.internal.cdo.CDOObjectImpl;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>Robot</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * The following features are implemented:
 * <ul>
 *   <li>{@link base.impl.RobotImpl#getCapteursReels <em>Capteurs Reels</em>}</li>
 *   <li>{@link base.impl.RobotImpl#getMoteursReels <em>Moteurs Reels</em>}</li>
 *   <li>{@link base.impl.RobotImpl#getActionsReels <em>Actions Reels</em>}</li>
 *   <li>{@link base.impl.RobotImpl#getNom <em>Nom</em>}</li>
 * </ul>
 * </p>
 *
 * @generated
 */
public class RobotImpl extends CDOObjectImpl implements Robot {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected RobotImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected EClass eStaticClass() {
		return BasePackage.Literals.ROBOT;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected int eStaticFeatureCount() {
		return 0;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<RealSensor> getCapteursReels() {
		return (EList<RealSensor>)eGet(BasePackage.Literals.ROBOT__CAPTEURS_REELS, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<RealActuator> getMoteursReels() {
		return (EList<RealActuator>)eGet(BasePackage.Literals.ROBOT__MOTEURS_REELS, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<RealAction> getActionsReels() {
		return (EList<RealAction>)eGet(BasePackage.Literals.ROBOT__ACTIONS_REELS, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getNom() {
		return (String)eGet(BasePackage.Literals.ROBOT__NOM, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setNom(String newNom) {
		eSet(BasePackage.Literals.ROBOT__NOM, newNom);
	}

} //RobotImpl
